import {request} from "../util/request";

export default {
    movieDetail(movieId) {   //通过id获取电影基本信息
        return request({
            url: `/movie/detail/${movieId}`,
            method: 'get'
        })
    },
    wantSee(movieId) {   //想看
        return request({
            url: `/movie/wantSee/${movieId}`,
            method: 'post'
        })
    },
    giveLike(commentId,movieId) {   //点赞
        return request({
            url: `/movie/comment/giveLike/${commentId}/${movieId}`,
            method: 'post'
        })
    }

}